﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace Abreu.Profile.ObjectClasses
{
    public class SectionProfile
    {
        #region Class Members
        private int _departmentId;
        private int _businessUnitId;
        private String _nameSection;
        private String _docDefLangIdSection;
        private Char _statusSection;
        private BusinessUnitProfile _businessUnit;
        private Collection<SectionPropertiesProfile> _listSectionProperties;
        #endregion 

        #region Properties
        public int DepartmentId
        {
            get { return _departmentId; }
            set { _departmentId = value; }
        }

        public int BusinessUnitId
        {
            get { return _businessUnitId; }
            set { _businessUnitId = value; }
        }

        public String NameSection
        {
            get { return _nameSection; }
            set { _nameSection = value; }
        }

        public String DocDefLangIdSection
        {
            get { return _docDefLangIdSection; }
            set { _docDefLangIdSection = value; }
        }

        public Char StatusSection
        {
            get { return _statusSection; }
            set { _statusSection = value; }
        }

        public BusinessUnitProfile BusinessUnit
        {
            get { return _businessUnit; }
            set { _businessUnit = value; }
        }

        public Collection<SectionPropertiesProfile> ListSectionProperties
        {
            get { return _listSectionProperties; }
            set { _listSectionProperties = value; }
        }
        #endregion

        #region Constructor
        public SectionProfile(int departmentId, int businessUnitId, String nameSection, String docDefLangIdSection,
                           Char statusSection, BusinessUnitProfile businessUnit, Collection<SectionPropertiesProfile> listSectionProperties)
        {
            DepartmentId = departmentId;
            BusinessUnitId = businessUnitId;
            NameSection = nameSection;
            DocDefLangIdSection = docDefLangIdSection;
            StatusSection = statusSection;
            BusinessUnit = businessUnit;
            ListSectionProperties = listSectionProperties;
        } 
        #endregion
    }
}
